import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
//引入mockjs
import './mock/module1/index.js'
import './mock/module8/index.js'
import './mock/module3/chart_index'
import './mock/module3/dataForm_index'
import './mock/module3/other_index'
import './mock/module5/index'
import './mock/module6/EnergyConsumption_table'
import './mock/module0/login'
import './mock/module7/data_index'
import './mock/module4/chart2_index'
import './mock/module4/dataForm2_index'

// 导入字体图标
import './assets/fonts/iconfont.css'
//引入axios
import axios from 'axios'
import VueAxios from 'vue-axios'


// 导入echarts
import * as echarts from 'echarts';
// 将全局echarts对象挂载到Vue的原型对象上 
Vue.prototype.echarts = echarts




Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.use(VueAxios, axios)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')